package com.fr.report.painter;

import com.fr.report.CellElement;
import com.fr.report.ReportPage;
import com.fr.report.cellElement.CellGUIAttr;
import com.fr.report.cellElement.core.ResultSubReport;
import com.fr.report.core.DynamicValueList;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.Rectangle;
import java.util.Iterator;

public class PDF2Painter extends PagePainter
{
  public PDF2Painter(ReportPage paramReportPage, Graphics2D paramGraphics2D, boolean paramBoolean)
  {
    super(paramReportPage, paramGraphics2D, paramBoolean);
  }

  protected void prepareHF(int paramInt)
  {
  }

  protected void paintCellContent(CellGUIAttr paramCellGUIAttr, boolean paramBoolean, CellElement paramCellElement, Rectangle paramRectangle1, Rectangle paramRectangle2)
  {
    if ((paramCellElement.getValue() instanceof Image) || (paramCellElement.getValue() instanceof ResultSubReport))
      super.paintCellContent(paramCellGUIAttr, paramBoolean, paramCellElement, paramRectangle1, paramRectangle2);
  }

  public void prepareFloat(Iterator paramIterator, DynamicValueList paramDynamicValueList1, DynamicValueList paramDynamicValueList2)
  {
  }
}